const routerDataSource = [
  {
    id: '1',
    name: 'Index',
    title: '首页',
    icon: 'iconfont icon-shouye',
    path: '/indexs/index',
    perm: 'indexs:index:menu',
    component: () => import('@/views/indexs/index.vue'),
  },
  {
    id: '2',
    name: 'Users',
    title: '用户管理',
    icon: 'iconfont icon-fenzuguanli',
    path: '',
    perm: 'users:user:folder',
    children: [
      {
        id: '21',
        name: 'Permission',
        title: '权限管理',
        icon: 'iconfont icon-yonghuming',
        path: '/users/permission',
        perm: 'users:user:menu',
        component: () => import('@/views/users/Permission.vue'),
      },
      {
        id: '22',
        name: 'Role',
        title: '角色管理',
        icon: 'iconfont icon-yonghuming',
        path: '/users/role',
        perm: 'users:role:menu',
        component: () => import('@/views/users/Role.vue'),
      },
      {
        id: '23',
        name: 'User',
        title: '用户管理',
        icon: 'iconfont icon-yonghuming',
        path: '/users/user',
        perm: 'users:user:menu',
        component: () => import('@/views/users/User.vue'),
      },
    ],
  },
  {
    id: '3',
    name: 'Stores',
    title: '站点管理',
    icon: 'iconfont icon-fenzuguanli',
    path: '',
    perm: 'stores:store:folder',
    children: [
      {
        id: '31',
        name: 'StoreCategoty',
        title: '站点分类',
        icon: 'iconfont icon-yingjian',
        path: '/stores/storeCategoty',
        perm: 'stores:storecategoty:menu',
        component: () => import('@/views/stores/StoreCategory.vue'),
      },
      {
        id: '32',
        name: 'StoreGroup',
        title: '站点区域',
        icon: 'iconfont icon-yingjian',
        path: '/stores/storeGroup',
        perm: 'stores:storegroup:menu',
        component: () => import('@/views/stores/storeGroup.vue'),
      },
      {
        id: '33',
        name: 'Store',
        title: '站点管理',
        icon: 'iconfont icon-yingjian',
        path: '/stores/store',
        perm: 'stores:store:menu',
        component: () => import('@/views/stores/store.vue'),
      },
    ],
  },
  {
    id: '4',
    name: 'Tasks',
    title: '任务管理',
    icon: 'iconfont icon-fenzuguanli',
    path: '',
    perm: 'tasks:task:folder',
    children: [
      {
        id: '41',
        name: 'TaskManage',
        title: '任务管理',
        icon: 'iconfont icon-yingjian',
        path: '/tasks/list',
        perm: 'tasks:task:menu',
        component: () => import('@/views/tasks/TaskList.vue'),
      },
    ],
  },
  {
    id: '5',
    name: 'Cars',
    title: '无人车管理',
    icon: 'iconfont icon-fenzuguanli',
    path: '',
    perm: 'Devices:device:folder',
    children: [
      {
        id: '51',
        name: 'DeviceList',
        title: '设备管理',
        icon: 'iconfont icon-yingjian',
        path: '/devices/device',
        perm: 'devices:device:menu',
        component: () => import('@/views/devices/DeviceList.vue'),
      },
      {
        id: '52',
        name: 'VideoList',
        title: '视频播放',
        icon: 'iconfont icon-yingjian',
        path: '/devices/video',
        perm: 'devices:video:menu',
        component: () => import('@/views/devices/VideoList.vue'),
      },
      {
        id: '53',
        name: 'InstructionList',
        title: '历史指令',
        icon: 'iconfont icon-yingjian',
        path: '/devices/instruction',
        perm: 'devices:instruction:menu',
        component: () => import('@/views/devices/InstructionList.vue'),
      },
      {
        id: '54',
        name: 'Heartbeat',
        title: '心跳日志',
        icon: 'iconfont icon-yingjian',
        path: '/devices/heartbeat',
        perm: 'devices:heartbeat:menu',
        component: () => import('@/views/devices/HeartbeatList.vue'),
      },
    ],
  },
  {
    id: '6',
    name: 'Takeouts',
    title: '外卖员管理',
    icon: 'iconfont icon-fenzuguanli',
    path: '',
    perm: 'takeouts:takeoutperson:folder',
    children: [
      {
        id: '51',
        name: 'TakeoutPerson',
        title: '外卖员管理',
        icon: 'iconfont icon-yingjian',
        path: '/takeouts/takeoutperson',
        perm: 'takeouts:takeoutperson:menu',
        component: () => import('@/views/takeouts/TakeoutPersonList.vue'),
      },
    ],
  },
  {
    id: '7',
    name: 'MessageManages',
    title: '短信管理',
    icon: 'iconfont icon-fenzuguanli',
    path: '',
    perm: 'messageManages:messageManage:folder',
    children: [
      {
        id: '71',
        name: 'MessageList',
        title: '短信管理',
        icon: 'iconfont icon-yingjian',
        path: '/messageManages/messageList',
        perm: 'messageManages:messageList:menu',
        component: () => import('@/views/messageManages/messageList.vue'),
      },
    ],
  },
  {
    id: '8',
    name: 'SystemManages',
    title: '系统管理',
    icon: 'iconfont icon-fenzuguanli',
    path: '',
    perm: 'systemManages:systemManage:folder',
    children: [
      {
        id: '81',
        name: 'UserFeedback',
        title: '用户反馈',
        icon: 'iconfont icon-yingjian',
        path: '/systemManages/userFeedback',
        perm: 'systemManages:userFeedback:menu',
        component: () => import('@/views/systemManages/userFeedback.vue'),
      },
      {
        id: '82',
        name: 'VersionManage',
        title: '版本管理',
        icon: 'iconfont icon-yingjian',
        path: '/systemManages/versionManage',
        perm: 'systemManages:versionManage:menu',
        component: () => import('@/views/systemManages/versionManage.vue'),
      },
      {
        id: '83',
        name: 'NoticeManage',
        title: '通知管理',
        icon: 'iconfont icon-yingjian',
        path: '/systemManages/noticeManage',
        perm: 'systemManages:noticeManage:menu',
        component: () => import('@/views/systemManages/noticeManage.vue'),
      },
    ],
  },
]
export default routerDataSource
